﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Meqs.Entity
{
    [Serializable]
    public class SecurityTable
    {
        private int _rID;
        private String _caption;
        private String _keyWord;
        private String _schoolMark;

        public int RID
        {
            get { return this._rID; }
            set { this._rID = value; }
        }

        public string Caption
        {
            get { return this._caption; }
            set { this._caption = value; }
        }

        public string KeyWord
        {
            get { return this._keyWord; }
            set { this._keyWord = value; }
        }

        public string SchoolMark
        {
            get { return this._schoolMark; }
            set { this._schoolMark = value; }
        }
        /// <summary>
        /// 权限种类
        /// </summary>
        public enum Security
        {
            /// <summary>
            /// 基础数据管理
            /// </summary>
            Base_Setting = 1,
            /// <summary>
            /// 德育规则设置
            /// </summary>
            Moral_Setting = 2,
            /// <summary>
            /// 德育管理
            /// </summary>
            Moral_Manage = 3,
            /// <summary>
            /// 德育报表查看范围
            /// </summary>
            Moral_CanView = 4,
            /// <summary>
            /// 学分规则设置
            /// </summary>
            Credit_Setting = 5,
            /// <summary>
            /// 学分管理
            /// </summary>
            Credit_Manage = 6,
            /// <summary>
            /// 学分报表查看范围
            /// </summary>
            Credit_CanView = 7,
            /// <summary>
            /// 考试管理
            /// </summary>
            Exam_Manage = 8,
            /// <summary>
            /// 成绩分析浏览范围
            /// </summary>
            Exam_CanView = 9,
            /// <summary>
            /// 教师评价规则设置
            /// </summary>
            Teacher_Eval_Setting = 10,
            /// <summary>
            /// 评价他人
            /// </summary>
            Teacher_Eval_Others = 11,
            /// <summary>
            /// 教师评价报表查看范围
            /// </summary>
            Teacher_Eval_CanView = 12
        }
    }
}
